package com.itzx.common;

import com.alibaba.otter.canal.protocol.CanalEntry;

import java.util.List;

/**
 * @Author yyeleven
 */
public interface TaskCallBack {
    void running(List<CanalEntry.Entry> entrys);

    void failError(Exception e);
}
